/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package geometry.entity;

import geometry.IPlace;

/**
 *
 * @author Administrator
 */
 class Place extends Location implements IPlace {

    private String name;
    private String Address;

    @Override
    public String toString() {
        return getLat()+","+getLng();
    }

    public Place() {
    }

    /**
     * Get the value of Address
     *
     * @return the value of Address
     */
    @Override
    public String getAddress() {
        return Address;
    }

    /**
     * Set the value of Address
     *
     * @param Address new value of Address
     */
    @Override
    public void setAddress(String Address) {
        this.Address = Address;
    }

    /**
     * Get the value of name
     *
     * @return the value of name
     */
    @Override
    public String getName() {
        return name;
    }

    /**
     * Set the value of name
     *
     * @param name new value of name
     */
    @Override
    public void setName(String name) {
        this.name = name;
    }

}
